/**
 * @filename:SysCommonBase 2020年06月17日
 * @project hotel-admin  V1.0
 * Copyright(c) 2020 Zhang·JZ Co. Ltd.
 * All right reserved.
 */
package hotel.quartz.oversea.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Id;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;


/**
 * @Description:(系统公共基础参数表 实体类)
 * @version: V1.0
 * @author: Zhang·JZ
 */
@Data
@Table(name = "sys_common_base")
public class SysCommonBase implements Serializable {

    private static final long serialVersionUID = 1592389814463L;


    @Id
    private String id;

    @ApiModelProperty(name = "opName", value = "对象属性名称")
    private String opName;


    @ApiModelProperty(name = "opValue", value = "对象值")
    private String opValue;


    @ApiModelProperty(name = "platformName", value = "平台属性名称")
    private String platformName;


    @ApiModelProperty(name = "platformValue", value = "平台值")
    private String platformValue;


    @ApiModelProperty(name = "switchName", value = "携程属性名称")
    private String switchName;


    @ApiModelProperty(name = "switchValue", value = "携程值")
    private String switchValue;


    @ApiModelProperty(name = "meituanName", value = "美团属性名称")
    private String meituanName;


    @ApiModelProperty(name = "meituanValue", value = "美团值")
    private String meituanValue;


    @ApiModelProperty(name = "opSort", value = "排序")
    private Integer opSort;


    @ApiModelProperty(name = "opRemark", value = "备注")
    private String opRemark;


    @ApiModelProperty(name = "opState", value = "系统状态            0:正常            1:异常")
    private Integer opState;

 /*   @ApiModelProperty(name = "parentId", value = "父级ID")
    private String parentId;*/

    /**
     * 子列表
     */
    private List<SysCommonBase> children = new ArrayList<>();

}
